package com.skins;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;


public class StartActivity extends Activity {
    /** Called when the activity is first created. */
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.start);
        
        ImageView iv1 = (ImageView)findViewById(R.id.mytype);
        ImageView iv2 = (ImageView)findViewById(R.id.search);
        
        iv1.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent in1 = new Intent(StartActivity.this, choice.class);
				startActivity(in1);
			}
		});
        
        iv2.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent in2 = new Intent(StartActivity.this, SerchActivity.class);
				startActivity(in2);
			}
		});
	}
}
